package com.ccb.jyzx.expand.tiantouonline.service.impl;

import com.ccb.jyzx.expand.tiantouonline.bean.FileInfo;
import com.ccb.jyzx.expand.tiantouonline.bean.FileTagsInfo;
import com.ccb.jyzx.expand.tiantouonline.dao.FileTagsInfoDao;
import com.ccb.jyzx.expand.tiantouonline.service.FileTagsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author XIEFEI
 * @date 2019-11-21 17:34
 * @Description
 **/
@Service
public class FileTagsInfoServiceImpl implements FileTagsInfoService {
    @Autowired
    FileTagsInfoDao fileTagsInfoDao;

    @Override
    public void save(FileTagsInfo tagsInfo) {
        fileTagsInfoDao.save(tagsInfo);
    }

    @Override
    public FileTagsInfo findByInfoid(FileInfo fileInfo){
        return fileTagsInfoDao.findByInfoid(fileInfo);
    }
}
